package cn.getech.data.development.api;

import cn.getech.data.development.vo.ConfConnectApiVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @ClassName SystemUserApi
 * @Description TODO
 * @Author Getech
 * @Date 2020/12/23 10:46
 */

public interface ConfConnectApi {

    /**
    * @Description 查询当前登录者拥有权限的数据源列表
    * @Author  chengweiping
    * @Date   2020/12/23 11:07
    */
    @RequestMapping(value = "/conf/connect/getAuthConfConnectList",method = RequestMethod.GET)
    List<ConfConnectApiVo> getAuthConfConnectList();


    @RequestMapping(value = "/conf/connect/getConnectById",method = RequestMethod.GET)
    ConfConnectApiVo getConnectById(@RequestParam("connectId") Integer connectId);






}
